<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="../style/fjol_style.css" />
	</head>

	<body>
		<div class="mui-scroll-wrapper">
		    <div class="mui-scroll">
		        <!--这里放置真实显示的DOM内容-->
		        <div id="itemDiv" class="mt10">
					<button type="button" class="mui-btn mui-btn-green mui-btn-outlined mr5 mb10 p10">按钮</button>
	            </div>
		        <ul class="mortgage-ul mui-scroll p0 bg-white" style="padding-left: 0;" id="mortgageUl">
				    	        <li class="mui-control-item mui-text-left tuijian-list">
				    	        	<a>
				    	            <img class="mui-media-object" src="../images/jx-img.jpg">
				    	            <div class="" style="white-space: normal;">
				    	            	<span>丰泽 宝洲花园 3室2厅 南北通透</span>
				    	            	<p style="margin: 0;">2008年/118平精装</p>
				    	            	<span class="mui-badge mui-badge-warning mui-badge-inverted">200万</span>
				    	            </div>
				    	            </a>
				    	        </li>
				    	        <li class="mui-control-item mui-text-left tuijian-list">
				    	        	<a>
				    	            <img class="mui-media-object" src="../images/jx-img.jpg">
				    	            <div class="" style="white-space: normal;">
				    	            	<span>丰泽 宝洲花园 3室2厅 南北通透</span>
				    	            	<p style="margin: 0;">2008年/118平/精装</p>
				    	            	<span class="mui-badge mui-badge-warning mui-badge-inverted">200万</span>
				    	            </div>
				    	            </a>
				    	        </li>
				    	        <li class="mui-control-item mui-text-left tuijian-list">
				    	        	<a>
				    	            <img class="mui-media-object" src="../images/jx-img.jpg">
				    	            <div class="" style="white-space: normal;">
				    	            	<span>丰泽 宝洲花园 3室2厅 南北通透</span>
				    	            	<p style="margin: 0;">2008年/118平/精装</p>
				    	            	<span class="mui-badge mui-badge-warning mui-badge-inverted">200万</span>
				    	            </div>
				    	            </a>
				    	        </li>
				    	        <li class="mui-control-item mui-text-left tuijian-list">
				    	        	<a href="#">
				    	            <img class="mui-media-object" src="../images/jx-img.jpg">
				    	            <div class="" style="white-space: normal;">
				    	            	<span>丰泽 宝洲花园 3室2厅 南北通透</span>
				    	            	<p style="margin: 0;">2008年/118平/精装</p>
				    	            	<span class="mui-badge mui-badge-warning mui-badge-inverted">200万</span>
				    	            </div>
				    	            </a>
				    	        </li>
				    	    </ul>
		    </div>
		</div>
		
		<script src="../js/mui.min.js"></script>
		<script type="text/javascript">
			mui.init();
			mui.plusReady(function(){
				var wv = plus.webview.currentWebview();
				var divInnerHtml = wv.divInnerHtml;
				var btnInnerHtml = wv.btnInnerHtml;
				document.querySelector('#itemDiv').innerHTML = btnInnerHtml;
				document.querySelector('#mortgageUl').innerHTML = divInnerHtml;
				
				mui('#mortgageUl').on('tap','li',function(){
					var thisId = this.getAttribute('id');
					mui.openWindow({
								url:'../house_detail.html',
								id:'house_detail',
								extras:{
									houseId:thisId
								}
							})
				});
			})
		</script>
	</body>

</html>